﻿using System;
using System.Linq;
using System.ServiceModel.Discovery;
using System.Xml;

namespace EasyComm.Discovery
{
    public class ServiceDiscoveryCriteria : FindCriteria
    {
        public ServiceDiscoveryCriteria(Type[] serviceContracts)
        {
            serviceContracts.ToList().ForEach(item => base.ContractTypeNames.Add(new XmlQualifiedName(item.FullName)));
        }
    }
}
